package com.xuan.friend.mapper.user;

import com.xuan.friend.domain.contest.dto.ContestRankDTO;
import com.xuan.friend.domain.contest.vo.ContestRankVo;
import com.xuan.friend.domain.contest.vo.ContestVo;
import com.xuan.friend.domain.user.UserContest;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author ASUS
* @description 针对表【tb_user_contest(用户-竞赛 关系表)】的数据库操作Mapper
* @createDate 2024-11-26 22:28:59
* @Entity com.xuan.friend.domain.user.UserContest
*/
public interface UserContestMapper extends BaseMapper<UserContest> {

    List<ContestVo> listUserContest(Long userId);

    List<ContestRankVo> listRank(Long contestId);
}




